/*Sidebar CSS Starts Here*/
.widget {
    margin-bottom: 30px;
    @include breakpoint(lg) {
        margin-bottom: 60px;
        .title {
            margin-bottom: 4px;
        }
        @include breakpoint(xl) {
            margin-left: 20px;
        }
    }
    &.widget-search {
        .search--form {
            position: relative;
            input {
                @include border-radius(0);
                background: transparent;
                height: 60px;
                border: 1px solid $border-color;
                padding-left: 20px;
            }
            button {
                height: 60px;
                width: 60px;
                right: 0;
                top: 0;
                position: absolute;
                border: none;
                border: 1px solid $border-color;
                border-left: none;
                outline: none;
            }
        }
    }
    &.widget-archive,
    &.widget-category {
        ul {
            margin-bottom: -28px;
            li {
                padding: 0;
                border-bottom: 1px solid $border-color;
                a {
                    padding: 11px 0;
                    display: flex;
                    &::before {
                        content : "\f105";
                        font-family: "Font Awesome 5 Free";
                        font-weight: 600;
                        margin-right: 5px;
                        color: $theme-four;
                    }
                    color: $body-color;
                    text-transform: capitalize;
                    &:hover {
                        color: $theme-four;
                        padding-left: 5px;
                    }
                }
                &:last-child {
                    border: none;
                    margin-bottom: -18px;
                }
            }
        }
    }
    &.widget-archive {
        ul li a::before {
            display: none;
        }
    }
    &.widget-tags {
        ul {
            @extend %flex;
            margin: -5px;
            margin-top: 20px;
            li {
                padding: 5px;
                a {
                    padding: 8px 20px;
                    border: 1px solid $border-color;
                    color: $body-color;
                    &:hover {
                        color: $white-color;
                        background: $theme-color;
                        border-color: $white-color;
                    }
                }
            }
        }
    }
    &.widget-banner {
        padding: 65px 15px 60px;
        text-align: center;
        background: $theme-color;
        .sub-title {
            text-transform: capitalize;
            color: $white-color;
            @include breakpoint(sm) {
                font-size: 28px;
                margin-bottom: 5px;
            }
        }
        a {
            font-size: 20px;
            color: $white-color;
            @include breakpoint(sm) {
                font-size: 30px;
                line-height: 1.4;
            }
        }
    }
    &.widget-post {
        ul {
            margin-top: 24px;
            li {
                @extend %flex;
                justify-content: space-between;
                padding: 0;
                margin-bottom: 30px;
                .c-thumb {
                    width: 96px;
                }
                .content {
                    width: calc(100% - 110px);
                    .sub-title {
                        margin-top: 0;
                        font-size: 18px;
                        margin-bottom: 4px;
                    }
                    .meta {
                        text-transform: uppercase;
                        font-size: 14px;
                        a {
                            color: $body-color;
                            &:hover {
                                color: $theme-four;
                            }
                        }
                    }
                }
                &:last-child {
                    margin-bottom: 0;
                }
            }
        }
    }
    &.widget-personal-info {
        ul {
            li {
                padding: 20px 0;
                border-bottom: 1px solid $border-color;
                &:last-child {
                    border: none;
                    padding-bottom: 0;
                }
                h6 {
                    font-weight: 600;
                    font-size: 18px;
                    text-transform: capitalize;
                }
                span {
                    display: block;
                    margin-bottom: -7px;
                    font-size: 14px;
                    color: #777777;
                }
            }
        }
    }
    .title {
        text-transform: capitalize;
        &.two {
            margin-bottom: 20px;
            @include breakpoint(sm) {
                font-size: 24px;
            }
        }
    }
}
.hudai {
    overflow: hidden;
}
.client-slider-rat {
    margin: -15px;
    margin-top: -5px;
    .slide-item {
        padding: 15px;
    }
    .c-thumb {
        margin-bottom: 40px;
    }
    p {
        margin-bottom: 22px;
    }
    @include breakpoint(max-sm) {
        .c-thumb {
            margin-bottom: 30px;
        }
        p {
            margin-bottom: 12px;
        }
    }
}
.ratings {
    margin-bottom: 10px;
    a,
    i {
        color: #fdb02a;
    }
}
.author-rat {
    a {
        font-size: 18px;
    }
    span {
        display: block;
    }
}
.b-sidebar {
    position: sticky;
    top: 120px;
    @include breakpoint(max-lg) {
        margin-top: 70px;
    }
}
.project-article {
    margin-bottom: 60px;
    @include breakpoint(sm) {
        margin-bottom: 70px;
    }
}
/*Privacy-Section Starts Here*/
.privacy-sidebar {
    overflow-y: auto;
    margin-bottom: -7px;
    direction: rtl;
    position: sticky;
    top: 150px;
    margin-bottom: 40px;
    * {
        direction: ltr;
    }
    &::-webkit-scrollbar-track {
        background-color: #f4f4f4;
    }
    &::-webkit-scrollbar {
        width: 6px;
        background-color: #f4f4f4;
    }
    &::-webkit-scrollbar-thumb {
        background: $theme-four;
    }
    >li {
        >a {
            text-transform: capitalize;
            font-size: 18px;
            font-weight: 700;
            font-family: $heading;
            color: $title-color;
            &::before {
                color: $title-color;
                font-size: 18px;
                font-weight: 500;
                margin-right: 5px;
            }
            &.active {
                ul {
                    display: block;
                }
            }
        }
        ul {
            padding-left: 15px;
            display: none;
            li {
                a {
                    font-size: 16px;
                    color: $title-color;
                    position: relative;
                    &::before {
                        @extend %pa;
                        width: 7px;
                        height: 7px;
                        background: $theme-four;
                        @include border-radius(50%);
                        left: -12px;
                        top: 10px;
                    }
                }
            }
        }
        &.post-content {
            a {
                color: $title-color;
            }
        }
        &.open {
            >a {
                color: $title-color;
            }
        }
        &:first-child {
            padding-top: 0;
        }
        &:last-child {
            padding-bottom: 0;
        }
    }
    li {
        &:first-child {
            >ul {
                display: block;
            }
        }
    }
    @include breakpoint(md) {
        padding-left: 20px;
        max-height: 400px;
        margin-bottom: 0;
        &::-webkit-scrollbar-track {
            box-shadow: inset 0 0 3px rgba($color: $title-color, $alpha: .5);
            background-color: #F5F5F5;
        }
        &::-webkit-scrollbar {
            width: 3px;
            background-color: $theme-color;
        }
        &::-webkit-scrollbar-thumb {
            background-color: $theme-color;
        }
    }
}